import Vue from 'vue'
import Router from 'vue-router'
import Home from '../view/home/index'
import Apply from '../view/apply/index'
import Redirect from '../view/redirect/r'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'home',
      meta: {index: 0},
      component: Home
    },
    {
      path: '/apply',
      name: 'apply',
      meta: {index: 0},
      component: Apply
    },
    {
      path: '/r',
      name: 'redirect',
      meta: {index: 0},
      component: Redirect
    }
  ]
})
